package game;

/**
 * Help screen (toggle by "0" ingame)
 * @author Simon
 *
 */
public class HelpScreen extends SplashScreen {
	boolean helpLock;
	
	public HelpScreen() {
		super("/help_screen.png", 3);
		helpLock = true;
	}

	public void logic() {
		super.logic();
		if (counter <= 0) {
			if (!LUMM2_Canvas.key0) helpLock = false;
			if (LUMM2_Canvas.lsk || LUMM2_Canvas.rsk || (!helpLock && LUMM2_Canvas.key0)) {
				LUMM2_Game.currentGameState = LUMM2_Game.PLAY;
			}
		}
	}
}
